import brand.HuaWei;
import brand.Vivo;
import phone.FoldingPhone;

public class Client {
    public static void main(String[] args) {
        FoldingPhone phone1 = new FoldingPhone(new HuaWei());
        phone1.phoneOpen();
        phone1.phoneCall();
        phone1.phoneClose();
        System.out.println("------------------------------------------------");
        FoldingPhone phone2 = new FoldingPhone(new Vivo());
        phone2.phoneOpen();
        phone2.phoneCall();
        phone2.phoneClose();
    }
}
